package com.rss.provider.spring.form;

import java.util.Date;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "updateForm")
public class UpdateForm {
	private Date cdate;
	private int uid;
	private String updateFrom;
	private String updateSubject;
	private String updateMessage;

	public int getUid() {
		return uid;
	}

	public void setUid(int uid) {
		this.uid = uid;
	}
	
	public Date getCdate() {
		return cdate;
	}

	public void setCdate(Date cdate) {
		this.cdate = cdate;
	}

	public String getUpdateFrom() {
		return updateFrom;
	}

	public void setUpdateFrom(String updateFrom) {
		this.updateFrom = updateFrom;
	}

	public String getUpdateSubject() {
		return updateSubject;
	}

	public void setUpdateSubject(String updateSubject) {
		this.updateSubject = updateSubject;
	}

	public String getUpdateMessage() {
		return updateMessage;
	}

	public void setUpdateMessage(String updateMessage) {
		this.updateMessage = updateMessage;
	}

	@Override
	public String toString() {
		return "UpdateForm [cdate=" + cdate + ", updateFrom=" + updateFrom
				+ ", updateSubject=" + updateSubject + ", updateMessage="
				+ updateMessage + "]";
	}

}
